#include "Ncl.h"

void StateMachine::onEntryState()
{
	dbg.log(__PRETTY_FUNCTION__, str_state[state] + "[" + ncl->getId() + "]");
	
}

void StateMachine::onExitState()
{
	dbg.log(__PRETTY_FUNCTION__, str_state[state] + "[" + ncl->getId() + "]");
}

void StateMachine::onTransition(TRANSITION t)
{
	transition=t;
	dbg.log(__PRETTY_FUNCTION__, str_transition[t] + "[" + ncl->getId() + "]");
	ncl->interpretTransition(str_transition[t]);
}
